#ifndef FILEUPLOADERPROCESS_H_
#define FILEUPLOADERPROCESS_H_

#include <string>
#include "Constants.h"
#include "Process.h"
#include "LogFile.h"
#include "SharedFile.h"
#include "SharedRecord.h"
#include "FileTransferFifo.h"
#include "DownloadedFile.h"

using namespace std;

class FileUploaderProcess: public Process {

private:
	SharedRecord request;
	string requestReceptorFifoName;

public:
	FileUploaderProcess(LogFile* logFile);
	virtual ~FileUploaderProcess();

	void setRequest(SharedRecord request);
	void setRequestReceptorFifoName(string requestReceptorFifoName);

protected:
	virtual int doWork();
	virtual string getProcessName();
};

#endif /* FILEUPLOADERPROCESS_H_ */
